package com.ktjy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ktjy.dto.ContractDTO;
import com.ktjy.pojo.TbContract;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 合同 Mapper 接口
 * </p>
 *
 * @author jjx
 * @since 2025-08-28
 */
public interface TbContractMapper extends BaseMapper<TbContract> {
    /**
     * 根据条件分页查询活动列表
     * @param page
     * @param contractDTO
     * @return
     */
    IPage<TbContract> getPage(Page<TbContract> page,
                                 @Param("contractDTO") ContractDTO contractDTO);
}
